.cover {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    filter: blur(20px);
    background-image: url('../images/1.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main {
    z-index: 1;
    width: 1200px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main > .left {
    width: 300px;
    height: 600px;
    background-color: rgb(46,50,56);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.main > .right {
    width: 900px;
    height: 600px;
    background-color: rgb(238, 238, 238);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.main .user {
    height: 75px;
    display: flex;
    align-items: center;
}

.main .user img{
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
}

.main .user #addFriend {
    width: 20px;
    height: 20px;
    margin-left: 130px;
}

.main .user h3 {
    color: white;
    font-size: medium;
}

.main .search {
    width: 300px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .search input {
    background-color: rgb(38, 41, 46);
    width: 250px;
    height: 25px;
    border: none;
    outline: none;
    padding-left: 5px;
    color: white;
    margin-left: 5px;
}

.main .search button {
    background-color: rgb(38, 41, 46);
    width: 26px;
    height: 25px;
    background-image: url('../images/搜索1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border: none;
}

.main .search button:active {
    background-color: gray;
}

.main > .left .tab {
    width: 300px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main > .left .tab .session-tab {
    width: 150px;
    height: 50px;
    background-image: url('../images/对话1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
}

.main > .left .tab .friend-tab {
    width: 150px;
    height: 50px;
    background-image: url('../images/朋友.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
}

.main > .left .session-list,.friend-list {
    height: 450px;
}

.main > .left .row {
    width: 300px;
    height: 60px;
    border-top: 1px solid black;
    display: flex;
    align-items: center;
    color: white;
}

.main > .left .row img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
}

.main > .left .row .message {
    width: 240px;
    height: 60px;
}

.main > .left .row .message .top {
    width: 240px;
    height: 25px;
    line-height: 20px;
    margin-top: 5px;
    display: flex;
}

.main > .left .row .message .top #time {
    font-size: small;
}

.main > .left .row .message .bottom {
    width: 240px;
    height: 25px;
    line-height: 20px;
    margin-bottom: 5px;
    display: flex;
}


.main > .left .row .message #name,#lastMessage {
    width: 120px;
}

.main > .left .row .message #blank {
    width: 110px;
}

.main > .left .row .message .bottom {
    font-size: small;
}

.main > .left .row .message .todoMessage {
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 10px;
}

.main > .left .hiden {
    display: none;
}

.selected {
    background-color: gray;
}

.main > .left .list {
    overflow: auto;
}

::-webkit-scrollbar {
    display: none;
}

.main > .right {
    padding-left: 5px;
    padding-right: 5px;
}

.main > .right .title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-bottom: solid 1px black;
}

.main > .right .message-list {
    height: 400px;
    border-bottom: solid 1px black;
    overflow: auto;
}


.main > .right .message-list .box {
    width: 500px;
    display: flex;
    margin-top: 10px;
}

.main > .right .message-list .right .box {
    justify-content: flex-end;
}

.main > .right .message-list .message img {
    width: 40px;
    height: 40px;
}

.main > .right .message-list p {
    border-radius: 5px;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.main > .right .message-list .left p {
    background-color: azure;
}

.main > .right .message-list .right p {
    background-color: chartreuse;
}


.main > .right .message-list .left {
    display: flex;
    justify-content: flex-start;
}

.main > .right .message-list .right {
    display: flex;
    justify-content: flex-end;
}

.main > .right #input {
    width: 890px;
    height: 115px;
    resize: none;
    background-color: rgb(238, 238, 238);
    padding: 5px 5px;
    font-size: 17px;
    border: none;
    outline: none;
}

.main > .right .control {
    display: flex;
    justify-content: flex-end;
}

.main > .right #send {
    width: 40px;
    height: 25px;
    margin-right: 15px;
}